home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / filesyst / ncpfs / ipxripd-.000 / ipxripd- / ipxripd / ipxkern.h < prev    next >
C/C++ Source or Header  |  1996-02-01  |  1KB  |  42 lines

  1. /*
  2.  
  3.     IPX support library
  4.  
  5.     Copyright (C) 1994, 1995  Ales Dryak <e-mail: A.Dryak@sh.cvut.cz>
  6.     Copyright (C) 1996, Volker Lendecke <lendecke@namu01.gwdg.de>
  7.  
  8.     This program is free software; you can redistribute it and/or modify
  9.     it under the terms of the GNU General Public License as published by
  10.     the Free Software Foundation; either version 2 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     This program is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU General Public License
  19.     along with this program; if not, write to the Free Software
  20.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23. #ifndef __IPXKERN_H__
  24.  
  25. #define __IPXKERN_H__
  26.  
  27. #include "ipxutil.h"
  28.  
  29. #define IPX_KRT_INTERNAL (1)
  30. #define IPX_KRT_ROUTE    (2)
  31.  
  32. typedef int (*IPXifcScanFunc)(IPXNet,IPXNode,char *,int,void*);
  33. typedef int (*IPXrtScanFunc)(IPXNet,IPXNet,IPXNode,int,void*);
  34.  
  35. int ipx_kern_enable_broadcast(int sock);
  36. int ipx_kern_route_add(int sock,IPXNet net,IPXNet rt_net,IPXNode rt_node);
  37. int ipx_kern_route_delete(int sock,IPXNet net);            
  38. int ipx_kern_scan_ifaces(IPXifcScanFunc f,void* data);
  39. int ipx_kern_scan_rtable(IPXrtScanFunc f,void* data);
  40.  
  41. #endif /* __IPXKERN_H__ */
  42.